import request from '@/utils/request'


const dataDicInfoApi = {
  findDataDicInfoByType: '/dataDicInfo/findDataDicInfoByType'
}


export default dataDicInfoApi

/**
 * type: 1 模块 2 系统 3 设备 4 点位 11 图表类型 12 工单类型 13 工单站点
 * @param parameter
 * @returns {*}
 */
export function findDataDicInfoByType(type) {
  return request({
    url: dataDicInfoApi.findDataDicInfoByType,
    method: 'get',
    params: {
      type
    }
  })
}